<?PHP
class tagControl extends webControl
{
	protected $tagName;
	
	function tagControl($attrs = array())
	{
		parent::webControl($attrs);
	}
	function Render($writer)
	{
		$writer->Write("<{$this->tagName}");
		foreach ( $this->attributes as $key => $value )
		{
			$writer->Write(" {$key}=\"{$value}\"");
		}
		$writer->Write(">\n");
		$this->RenderChildren($writer);
		$writer->Write("</{$this->tagName}>\n");
	}
}
?>
